package com.desiy.service;

import com.desiy.entity.Admin;
import com.desiy.vo.AdminVO;

import java.util.Collection;
import java.util.List;

/**
 * @author Desiy
 * @date 2020/5/13 16:11
 */
public interface AdminService {
    Collection<Admin> adminList();
    List<Admin> adminListByUsername(String username);
    Admin login(String username, String password);
    void add(String rel_name, String username, String password);
    void add(Admin admin);
    String selectPassword(String username);
    String selectUsername(String username);
    void del(Integer id);
    AdminVO edit(Integer id);
}
